/* 基础样式与变量 */
:root {
    --primary: #1677ff;
    --secondary: #ff7d00;
    --accent: #ff4d4f;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  /* 工具类 */
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .flex-1 {
    flex: 1;
  }
  
  .items-center {
    align-items: center;
  }
  
  .items-start {
    align-items: flex-start;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .justify-between {
    justify-content: space-between;
  }
  
  .space-x-1 > * + * {
    margin-left: 0.25rem;
  }
  
  .space-x-2 > * + * {
    margin-left: 0.5rem;
  }
  
  .space-x-3 > * + * {
    margin-left: 0.75rem;
  }
  
  .space-x-4 > * + * {
    margin-left: 1rem;
  }
  
  .space-x-6 > * + * {
    margin-left: 1.5rem;
  }
  
  .space-y-3 > * + * {
    margin-top: 0.75rem;
  }
  
  .space-y-4 > * + * {
    margin-top: 1rem;
  }
  
  .space-y-6 > * + * {
    margin-top: 1.5rem;
  }
  
  .mt-1 {
    margin-top: 0.25rem;
  }
  
  .mt-2 {
    margin-top: 0.5rem;
  }
  
  .mt-3 {
    margin-top: 0.75rem;
  }
  
  .mt-4 {
    margin-top: 1rem;
  }
  
  .mt-6 {
    margin-top: 1.5rem;
  }
  
  .mt-10 {
    margin-top: 2.5rem;
  }
  
  .mb-0 {
    margin-bottom: 0;
  }
  
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .ml-1 {
    margin-left: 0.25rem;
  }
  
  .ml-2 {
    margin-left: 0.5rem;
  }
  
  .py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  
  .py-1.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  
  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .py-2.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }
  
  .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .w-full {
    width: 100%;
  }
  
  .w-8 {
    width: 2rem;
  }
  
  .w-10 {
    width: 2.5rem;
  }
  
  .w-12 {
    width: 3rem;
  }
  
  .w-20 {
    width: 5rem;
  }
  
  .w-24 {
    width: 6rem;
  }
  
  .w-48 {
    width: 12rem;
  }
  
  .max-w-md {
    max-width: 28rem;
  }
  
  .h-8 {
    height: 2rem;
  }
  
  .h-10 {
    height: 2.5rem;
  }
  
  .h-12 {
    height: 3rem;
  }
  
  .h-20 {
    height: 5rem;
  }
  
  .h-24 {
    height: 6rem;
  }
  
  .h-32 {
    height: 8rem;
  }
  
  .h-48 {
    height: 12rem;
  }
  
  .h-64 {
    height: 16rem;
  }
  
  .max-h-96 {
    max-height: 24rem;
  }
  
  .min-h-screen {
    min-height: 100vh;
  }
  
  .rounded-full {
    border-radius: 9999px;
  }
  
  .rounded-lg {
    border-radius: 0.5rem;
  }
  
  .rounded-xl {
    border-radius: 0.75rem;
  }
  
  .border {
    border-width: 1px;
  }
  
  .border-2 {
    border-width: 2px;
  }
  
  .border-t {
    border-top-width: 1px;
  }
  
  .border-neutral-200 {
    border-color: var(--neutral-200);
  }
  
  .border-primary {
    border-color: var(--primary);
  }
  
  .object-cover {
    object-fit: cover;
  }
  
  .object-center {
    object-position: center;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  .overflow-y-auto {
    overflow-y: auto;
  }
  
  .text-center {
    text-align: center;
  }
  
  .text-left {
    text-align: left;
  }
  
  .text-right {
    text-align: right;
  }
  
  .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  
  .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  
  .text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  
  .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .font-bold {
    font-weight: 700;
  }
  
  .font-medium {
    font-weight: 500;
  }
  
  .leading-relaxed {
    line-height: 1.625;
  }
  
  .text-primary {
    color: var(--primary);
  }
  
  .text-secondary {
    color: var(--secondary);
  }
  
  .text-accent {
    color: var(--accent);
  }
  
  .text-white {
    color: #fff;
  }
  
  .text-neutral-100 {
    color: var(--neutral-100);
  }
  
  .text-neutral-300 {
    color: var(--neutral-300);
  }
  
  .text-neutral-400 {
    color: var(--neutral-400);
  }
  
  .text-neutral-500 {
    color: var(--neutral-500);
  }
  
  .text-neutral-600 {
    color: var(--neutral-600);
  }
  
  .text-neutral-700 {
    color: var(--neutral-700);
  }
  
  .text-neutral-800 {
    color: var(--neutral-800);
  }
  
  .bg-white {
    background-color: #fff;
  }
  
  .bg-primary {
    background-color: var(--primary);
  }
  
  .bg-neutral-100 {
    background-color: var(--neutral-100);
  }
  
  .bg-neutral-200 {
    background-color: var(--neutral-200);
  }
  
  .bg-neutral-50 {
    background-color: rgba(245, 245, 245, 0.5);
  }
  
  .bg-neutral-900 {
    background-color: var(--neutral-900);
  }
  
  .bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
  }
  
  .bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--primary), #69b1ff);
  }
  
  .backdrop-blur-sm {
    backdrop-filter: blur(4px);
  }
  
  .shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  .shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  }
  
  .shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .shadow-card {
    box-shadow: var(--shadow-card);
  }
  
  .hover\:shadow-hover:hover {
    box-shadow: var(--shadow-hover);
  }
  
  .relative {
    position: relative;
  }
  
  .absolute {
    position: absolute;
  }
  
  .fixed {
    position: fixed;
  }
  
  .top-0 {
    top: 0;
  }
  
  .bottom-0 {
    bottom: 0;
  }
  
  .bottom-2 {
    bottom: 0.5rem;
  }
  
  .bottom-6 {
    bottom: 1.5rem;
  }
  
  .right-0 {
    right: 0;
  }
  
  .right-2 {
    right: 0.5rem;
  }
  
  .right-6 {
    right: 1.5rem;
  }
  
  .-top-1 {
    top: -0.25rem;
  }
  
  .-top-12 {
    top: -3rem;
  }
  
  .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .z-50 {
    z-index: 50;
  }
  
  /* 自定义工具类 */
  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
  
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* 网格布局 */
  .grid {
    display: grid;
  }
  
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .gap-1 {
    gap: 0.25rem;
  }
  
  .gap-2 {
    gap: 0.5rem;
  }
  
  .gap-6 {
    gap: 1.5rem;
  }
  
  /* 过渡动画 */
  .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .duration-200 {
    transition-duration: 200ms;
  }
  
  .duration-300 {
    transition-duration: 300ms;
  }
  
  /* 交互状态 */
  .hover\:bg-primary\/5:hover {
    background-color: rgba(22, 119, 255, 0.05);
  }
  
  .hover\:bg-primary\/90:hover {
    background-color: rgba(22, 119, 255, 0.9);
  }
  
  .hover\:bg-primary:hover {
    background-color: var(--primary);
  }
  
  .hover\:bg-white:hover {
    background-color: #fff;
  }
  
  .hover\:bg-neutral-100:hover {
    background-color: var(--neutral-100);
  }
  
  .hover\:text-primary:hover {
    color: var(--primary);
  }
  
  .hover\:text-primary\/80:hover {
    color: rgba(22, 119, 255, 0.8);
  }
  
  .hover\:opacity-90:hover {
    opacity: 0.9;
  }
  
  .hover\:underline:hover {
    text-decoration: underline;
  }
  
  .focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  
  .focus\:ring-2:focus {
    ring-width: 2px;
  }
  
  .focus\:ring-primary\/30:focus {
    ring-color: rgba(22, 119, 255, 0.3);
  }
  
  /* 可见性 */
  .hidden {
    display: none;
  }
  
  .opacity-0 {
    opacity: 0;
  }
  
  .opacity-100 {
    opacity: 1;
  }
  
  .invisible {
    visibility: hidden;
  }
  
  .visible {
    visibility: visible;
  }
  
  /* 变形 */
  .transform {
    transform: translateZ(0);
  }
  
  .translate-y-0 {
    transform: translateY(0);
  }
  
  .translate-y-2 {
    transform: translateY(0.5rem);
  }
  
  .rotate-180 {
    transform: rotate(180deg);
  }
  
  /* 响应式 */
  @media (min-width: 640px) {
    .sm\:inline-block {
      display: inline-block;
    }
    
    .sm\:block {
      display: block;
    }
    
    .sm\:hidden {
      display: none;
    }
    
    .sm\:space-x-4 > * + * {
      margin-left: 1rem;
    }
  }
  
  @media (min-width: 768px) {
    .md\:flex {
      display: flex;
    }
    
    .md\:flex-row {
      flex-direction: row;
    }
    
    .md\:mb-0 {
      margin-bottom: 0;
    }
  }
  
  @media (min-width: 1024px) {
    .lg\:col-span-3 {
      grid-column: span 3 / span 3;
    }
    
    .lg\:col-span-6 {
      grid-column: span 6 / span 6;
    }
    
    .lg\:grid-cols-12 {
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }
  }
  
  @media (min-width: 1280px) {
    .xl\:px-8 {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }